import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import * as api from "./api";

// 引入新字体
require("./assets/font/font.scss");
// 引入样式文件
// 初始化样式文件
require("./common/css/reset.scss");
// require('./common/css/color.scss')
// 公用样式文件
require("./common/css/common.scss");

// elementUI组件重写、配置样式文件
require("./common/css/element-css.scss");
// 引入iconfont
// require("../public/js/iconfont");
// 引入elementui
require("./plugins/elementui");
// 引入人机验证滑块
// require('./plugins/slideVerify')
import './plugins/slideVerify';

import svgIcon from "./components/svgIcon.vue";
import loading from "./components/loading.vue";

Vue.component("svgIcon", svgIcon);
Vue.component("loading", loading);

Vue.prototype.$API = api;

Vue.config.productionTip = false;

console.log(process.env,'dfjhshfjshfj')

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
